package com.iyundao.io.Service;

import com.github.pagehelper.PageInfo;
import com.iyundao.io.model.*;
import com.iyundao.io.tools.IntegralOperationVo;
import com.iyundao.io.tools.ResponseData;

import java.util.List;

public interface WishService {

    ResponseData insert(Wish wish);

    ResponseData del(Wish wish);

    ResponseData addWishSubmit(List<Wish> list);

    ResponseData addWishSubmitDetail(List<Wish> list, Integer submitid);

    ResponseData exchange (IntegralOperationVo integralOperationVo);

    PageInfo<Wish> selectWishByPartymemberId(Integer pagenum, Integer pagesize, String partymemberid);

    PageInfo<WishSubmit> selectWishSubmitAll(Integer pagenum, Integer pagesize,String sid);

    ResponseData selectWishSubmitDetailBySubmitId(Integer pagenum, Integer pagesize, Integer submitid);

    ResponseData selectByLikeName(String partymembername);

    ResponseData selectByDate(String date1);

    PageInfo<GiftShow> selectBySid(Integer pagenum, Integer pagesize);

    PageInfo<WishSubmitShow> selectByDeptId(Integer pagenum, Integer pagesize);

    ResponseData deleteWishSubmit(Integer id);
}
